package com.zjj.learn.designmodel.work.responsibilityChain;

public class GroupLeader extends ExpenseProcessHandler{


    /**
     * 在创建构造器时必须逼供下一个审核
     **/
    public GroupLeader(ExpenseProcessHandler nextHandler) {
        super(nextHandler);
    }



    @Override
    public void handle(ExpenseApply apply) {
        System.out.println("直属领导同意");
        super.getNextHandler().handle(apply);

    }
}
